x86/mm: Introduce and use l?e_{get,from}_mfn()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Aug 2017 18:01:02 +0000 (19:01 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 25 Aug 2017 15:16:01 +0000 (16:16 +0100)
commit846be9ef30f3ef3b8f2ad9a0d2f7bd6025d21dc1
treeaf13f6ef2587fa8c41f05cdf718fce179aef948c
parent44c9f1e88120aa0c62edbf6e404c83fba6bdfcd1
x86/mm: Introduce and use l?e_{get,from}_mfn()

This avoids the explicit boxing/unboxing of mfn_t in relevant codepaths.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/debug.c
xen/arch/x86/domain_page.c
xen/arch/x86/mm.c
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/p2m-pt.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/multi.c
xen/arch/x86/mm/shadow/types.h
xen/include/asm-x86/page.h